package cn.yunhe.dao;

import java.util.Set;
import org.apache.ibatis.annotations.Param;

import cn.yunhe.entity.User;

public interface UserDao {

	public User loginUser(@Param("username")String username);
	
	
	public Set<String> getRolesByUsername(@Param("username")String username);
	
	
	public Set<String> getPermissionsByUsername(@Param("username")String username);
	
}
